/*
  //=============\\
 || DISPLAY NODE ||
 \\=============//
 
 Analog Signals:
 ---------------
 - 
 
 Digital Signals:
 ----------------
 - 
 
 Functionality Summary:
 ----------------------
 Read values from CAN bus and display them to LED's and LCD.
 
 Communication Protocol:
 -----------------------
 - CAN Byte Order
 0 ) 
 1 ) 
 2 ) 
 3 ) 
 4 ) 
 5 ) 
 6 ) 
 7 ) 
 
 Arduino Uno Pin Assignemnts:
 ----------------------------
  0 ) RX - Debug
  1 ) TX - Debug
  2 ) 
  3 ) 
  4 ) 
  5 ) 
  6 ) 
  7 ) LCD 14
  8 ) LCD 13
  9 ) LCD 12
 10 ) LCD 11
 11 ) LCD 6
 12 ) 
 13 ) 
 A0 ) 
 A1 ) 
 A2 ) 
 A3 ) 
 A4 ) 
 A5 ) 
 
 Notes:
 ------
  Tutorial taken from: http://www.arduino.cc/en/Tutorial/LiquidCrystal
  
  LCD Pin Assignments:
  1   GND
  2   5+
  3   10k Pot output
  4   Arduino 12
  5   GND
  6   Arduino 11
  7   -
  8   -
  9   -
  10  -
  11  Arduino 10
  12  Arduino 9
  13  Arduino 8
  14  Arduino 7
  15  4.2+ (backlight)
  16  GND
  
  LCD Example:
    lcd.setCursor(0,1); // char 0, row 1
    lcd.print(milis()/1000); // print data
 */


//#include <SPI.h>
//#include "CAN_lib.h"
#include <GtCAN_lib.h>
#include <LiquidCrystal.h>

GtCAN_lib can(10,0);
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
int CAN_id = DisplayNodeID;

void setup() {
  Serial.begin(9600);
  // set up the LCD's number of columns and rows: 
  lcd.begin(16, 2);
}

void loop() {
  Serial.println("DEBUG");
  delay(1000);
}



